package com.study.design.pattern.pattern.behavioral.memento;

/**
 * @Author: gongsl
 * @Date: 2025-03-24 21:56
 * @description: 备忘录类：存储文本编辑器的状态
 */
public class Memento {

    private final String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
